Changing the use of Field template to use value_type instead of value_ptr