Added require statement to examples, and removed trailing block formatting.