Added routines to dump functions and handlers.