allowing a nested_object class_name to be nil