Remove text notes and references.