Rename TreeExtractor to Extractor