Minor fixes to return values.

Just some minor things I noticed while doing this tutorial (quite awesome actually :+1: ).