Use a Set instead of a List for aliases so that duplicate aliases are
not added.