Fixed Memory and Mongo persistence ready callback support.