Create ResourceType metaclass