Implemented bool generator.