Make parseFile return TypeDecl's instead of TypeDef's