Add boolean support
Merge pull request #1 from paf31/boolean

Add boolean support