add support for boolean type coercions