Add scale method to Shape class.