addProperties function

Add properties to compartments object.