refs https://github.com/firebaseco/mongoose-attachments/issues/24 : export reference to attachments plugin.