Parser has helper methods for primitive types.