Fix default values for fields and properties for primitives