Moved over NativeBridge and detectOS.