Add documentation for dimension and weight unit functions.

For #482