extractor: add support for virtual resources