Add primitive types parsing