Right, 

at the beginning the method `doExport()` wasn't exposed to the public API, just did it for testing purposes.

Will remove it from the  API and provide better tests