GH #278 - Added higher-level API with attachments.