Beginnings of parametrization. See the top of replace_special_vars.cpp for
thoughts and TODOs