Initial assumption that everyone use IDEs with a feature to import missing imports was wrong. Missing imports should be added to every code snippet.