Added additional methods for returning current layout.