Pylint fixes

Most of these changes make Sphinx happier, too.