[flow] only export handlers that the user is interested in
[x0d] only export setup and main handlers, avoiding unnecessary code generation for the others / sub handlers.