Adding a deduplicator for shapes.