Added collapse_nested_params.