Variables with type bool now act more like an int, and there is proper casting to/from Python objects.