Updated to match my blog post.

Added operator syntax.
Miscellaneous cleanup.