Fix 2.0 errors in tutorial