Fix anaphora resolution.