[master] Adds possibility to set attachments