Function defineKoValidatorExtender should return ko.