Added boolean type to lib