made Score and Predict functions part of the feature types