Fixed the export method to match the example usage