Added support for redis backend