More fun with keeping track of native calls, and some exception stuff.