Added support of boolean and autodetection of DateTime
Added InvalidArgumentException