Rename extractFeatures to _extractFeatures