Correct metaclass creation.