Replaced methods collectionValidators and mapValidators in Validator with static class members.