Added support for redis repository