Fix pascal method parsing.