Add primitive parsing.