Fixed addObjectProperty