Sophisticated exporter for custom-built routines