Redirect factory output into exports.