Fix a typo
Make the validator check for duplicate names

Update all its dependencies, too.