remove needless functions (exports)