Add in a bunch of helpers from my old django FuncMap