Do additional preparation in a separate method.

This way we always call the parent class `__init__` and PyLint does not
complain about it.