EOL at EOF.
Remove unused import.
Minor refactoring: replace a for comprehension with equivalent mapping.