allow pids in typespecs
Merge pull request #57 from sasa1977/fix/typespec

allow pids in typespecs