Added missing ObjectProperties() calls in from_dict() and from_obj()