Tidy up the tutorial a bit more, code examples actually work now :)