reinstate automatic exporting of functions