Refactor some small code.
Create a relation for table Units.