updated load function in CompositeExtractor to take Type arg not PageNode