Apro_gen refactoring: class ParamFunc instead of two function pointers.