def METHOD_NAME(self, configuration: FollowConfiguration):
    model = configuration.model
    if configuration.slug in self.entries:
        raise ValueError(
            "%s registered twice with follow registry!" % configuration.slug
        )
    if model._meta.label_lower in self.entries_by_model:
        raise ValueError("Model registered twice with follow registry!")
    self.entries[configuration.slug] = configuration
    self.entries_by_model[model._meta.label_lower] = configuration
    content_model = model._meta.get_field("content_object").remote_field.model
    self.by_content_model[content_model].append(configuration)
    return model