mark a bunch of functions and types as nonexported