field: add Set() method for setting fields