Added attachments capability to stop them being ignored by module