Simplify hashes in calls to define_property