Add putAttachment support for the rel domain