Add support for redis