Updated the attachments and attachments_id methods to make them simpler.