UnvalidNameException class changed to public