Switched public fields to properties.