Support for svm and correction for scriptcs mono bug #840.