added access to other attributes on property_definition
added nil check for dates