Begin conversion to Swift. Unstable and broken build.