Adds getData to exporting.
Removes logs.