simplify-extractor

simplify classes around ResourceExtractor