[V3] Resourcified attachments

rebased #428.