Add import statements to examples.