Make pylint happy

Most of pylint's warnings were spurious, but at least one set of warning was
valid: the attribute-defined-outside-init warning.