In order to remove some code duplication and make this validation reusable that the trait `UndefinedHelper` is being created.