Update tutorial code and explanations to reflect changes.

Reviewed by: juliet