Implments checkbox and radio.