Remove leftovers from the global leak feature.
Port over all the global constructors to the new context.

Fixes #13.