I don't think you need to create a separate private method for this, used only once. You could keep it inline in the ``createClassWithoutConstructor`` method