attachments mixin, localization