Fix type definition parsing when using symbols.