Serializable interface
il_cast takes a type, not an instance
Implement weak references