Fixed attr_accessible error.