Comment about significant term selection.
Move ref deduping to the end.