make the interfaces of the redis and memache interfaces feel more consistent type-wise