Add definition of the async handler.