Cleanup of units and constants.