Lab-3: Dimension getters added.