Accept CFunction objects in fluxes. (report by Felipe Hernandez)