We should switch this metaclass to set class attributes for `KEY_FIELDS`, to make pylint errors helpful, and then actually use the metaclass.