Added removeDimensions to its own branch