Don't force functions to be of class parser::FunctionPrime (this messed up teh differentiation, since parser::FunctionPrime has parent parserFunction, and that overrides the D method).