Fixed attr_accessible for pins.