Removed redundant methods in Cube class