Adding frontend integration to attachments.