Fix errors discarding by named return values abuse.