Checkbox element class implementation