Fixing a bug in the type parser.