Added extra validation for CAS module.