Import logger module
Correct a bunch of self-referencing method calls