Initialize fields property when adding and removing fields