Work on some kernel stuff.

Add better kernel call wrappers.