Imported from RedisQueue-GUI.