Removed function getDimensions which is obsolete since contentTransformations.