Extracte apartments attributes and parking_types attributes into methods.