Add redis and minor fixes.