Moved methods for cube definition to Cube::ClassMethods