Cleaned up code examples.