adding attr_accessible for compatibility