Two functions I need in setdefaults and search a few times
Merge pull request #220 from WS64/master

Two functions I need in setdefaults and search a few times