Fix errors in latest beta build.