Don't override the formula template.  Leave _forumla_ as a template.  Later we might add something like a .formula classmethod that can be used to return a formula with arbitrary replacements for the parameters (such as actual parameter values)