Checked set and get methods