NativeAPI interface part was moved from here