Allow view to define calculate_nested_array and override