Adding api.export for 0.6.5 compatibility