Handling DIM_NAMES.