Improved example of redis store.