Fix definitions of derived units.

- use static methods for definitions