Removing redundant math.