Change properties getter method so it doesn't wrap an array around @properties hashes. Clean up styling. Use self.properties in places where implicit method call isn't working.