add attachments, virtualMethods, and Mappings