Haxe: generate top-level procedures for T30Procedures (nested procs still give a syntax error in haxe, though)