Metaclass for subclassable extension types