Use Oasis instances instead of relying on Oasis global.

This will be important for supporting an inline adapter for trusted
environments.