Some changes to the mongo and redis clients