Start a util file and tests.
Remove unused import.
Try to log a recurring error better.