Got rid of warnings. Container now extends Cube.