macro_rules! register_typed_class {
    ($x:expr, $type:expr, $($arg:expr),*) => { ... };
}