Removed the custom glob code and added "defacto" expectations
Merge pull request #1454 from ratnikov/fix-glob

Removed the custom glob code and added "defacto" expectations
Restore lost params signature.