Added type conversion for boolean properties.