def METHOD_NAME(self, username=None, sudo_path=None, password=None,
              preserve_env=None, set_home=None, sudo_args=None,
              **kwargs):
    super(Stream, self).METHOD_NAME(**kwargs)
    opts = parse_sudo_flags(sudo_args or [])
    if username is not None:
        self.username = username
    if sudo_path is not None:
        self.sudo_path = sudo_path
    if password is not None:
        self.password = password
    if (preserve_env or opts.preserve_env) is not None:
        self.preserve_env = preserve_env or opts.preserve_env
    if (set_home or opts.set_home) is not None:
        self.set_home = set_home or opts.set_home