Fixing code examples