def __new__(cls, *args, **kwargs):
    """Mainly checks to ensure all subclasses have a PK_FIELDS attribute."""
    if not hasattr(cls, 'PK_FIELDS'):
        raise AttributeError('{} is missing PK_FIELDS'.format(cls.__name__))
    return super().__new__(cls)
