Here and throughout, would it be helpful to have a field `self.remote_name`, so we can be more specific in log and error messages?