Magic properties for mass and density
More properties.  Also, env is object, not array.
Move property configuration to a separate function.  This also allows patching