Add support for Redis as input