Swtiched TfIdf over to use the two new classes DocumentFrequency and PagesTfIdf.