Removed unnecessary functions creations in ko.validation.group