Clean up code. Make pylint metric be 9.43/10 .