added bool support to all languages.