Better way of exporting the module