Small redis driver refactoring