Use a friend rather than public fields.