:gb: Refactored dimensions property to implement a setter and getter