allow commas in type definitions, fixes #8