Fix for #97: throw exception if empty extractor is called.