Switch to using Oasis instances instead of global.

This is important to getting the inline adapter to work without a specialized loader.