Refactoring: remove dimension.