Safer handling of Booleans.