Added Dimension class.