Adds checking for radio and checkbox defaultChecked.