Changes and corrections to examples