Remove the mongo message fetching code.