Added attr_acceccible to make compatible with protected_attributes