Move validations to own namespace.
Move file.
Make unique name validation reusable.