Patch from Roman Brenes to make the tutorial example work without any errors.