renamed CallbackHandler to FunctionHandler