Added full support for boolean types.