Better match plinss's dfn-type determination.
Add new TODO about IDL parsing.