better support of bool type.
better support of string type.