Fix assert in compartment
Change how props/compartments are stored
Add doc for Compartment class