Pushed fix for broken tutorial code. Tutorial doesn't work yet, but compiles.