Added imports to examples, fixes #2