Tests, logging, spelling, refactoring.