Make the checkboxes added in the previous commit work.