Use cfg instead of size_of for encode.
Rearrange ClassDecl's register method.
Removed unnecessary as_ptrs.
Moved ToMessage into a message module.
Added maybe methods to Id.
Removed default_type_params feature.
Remove Clone for Id.
Using CVec to avoid an extra allocation.
Added instance_methods to Class.