Fixed bug with object properties.