Stripped out random forest stuff.