Adds methods to tie together published/updated with mongo.