Added support for primitive type fields to added using .fields() method