Added setter methods needed for use with Java reflection.