pub trait AsAny: Any { fn as_any(&self) -> &dyn Any; }
A trait to work around not having trait object upcasting.