Move SlotExtractor code to ConstantCompositeExtractor & ReduceCompositeExtractor classes.