I realized there is some redundancy between `properties` and `_properties_metadata` in `entities.py:ObjectType`. Would be nice to get rid off this.