Added support for set types when using redis storage.