Added Exporter class and supporting code elsewhere in the module.