Added some stuff for redis