Support bool options in XS