Added redis support.