No need to be a var
Flesh out the sql and redis API compat

I'm not convinced this is the correct approach, but will give it a shot.