Move addValidateToViewModel to the right namespace