make loadExports function override-able