Type test: Fix some pylint warnings.