pylint fixes.
Bugfix: invalid method name