Added support for boolean type.