Rework label parsing.