Small optimizations for redis & generic batch functions.