fixing return types for Set::extract and Set::classicExtract
Merge pull request #1134 from steinkel/2.5

fixing return types for Set::extract and Set::classicExtract