add some functions.  wrap exports for other contexts