Refactored RedisExtension