Get completely rid of ReferencedClass, li::destroy and other ugly things