Only dump used labels.