add casted metaClass method