Add NativeEnv implementation