Some changes for redis