Make some setters public so that newtonsoft.json can be used