Added temporary support for boolean type by turning it into an integer