Export make_doc/5 for mem3 replicator

BugzID: 12043