Added bool and toValue conversion for built-in types