More metaclass faff