Finish type-name parsing