Fixed issues associated with attr_accessible