Getter and Setter for endFields