Parsing of type declarations