@classmethod
def delete_instance(cls, obj):
    """Actively remove the stored instance."""
    try:
        instance = cls._instances[obj]
    except (KeyError, AttributeError):
        pass
    else:
        instance.delete()
