Added boolean parsing.