Fixed a typo, and added sections on optimization and using arbitrary objects as messages.