Helpers for redis