Fixed exporting dangerous functions