Adding a `properties_hash` method to return a hash of all the defined properties in the class