Rename attributes into properties to avoid ActiveRecord errors