Add missing exports

This PR adds or fixes a lot of exports that are needed by the examples.

I'm going to be really naughty and merge it immediately.