Now supports checkable preference lists. The values are not put into the
preference if not checked.