DocumentManager - remove $db from createDBRef