Fix export to export a single function