Changed operator() on cross_function to take classes parms by ref