Added 'tristate' field to CheckBox elements.