Removes str, err from return