Added support for Bool. Closes #3