Added type conversion for boolean bindings.