Add UniqueConstraint to Thing. Refs #3.