Refactor Angle as a subclass of Quantity.