Updated source code examples for includes, error reporting, and abstraction