Refactoring of ObjectMetaclass