Added getScale method