preliminary support for extractor templates (for DREAM)