Use LinkedHashSet for deterministic behavior.

Refs #11