Removed some unused code from WildcardHelper