Set names of DifferentiableFunction.