Public assign_attributes