Made redis backend pickleable.