refactor NativeInterface to ModelNative.