Implement new version of NativeFunctions.