Added a function for adding units to properties, where available.