Added new preprocessing for local labels.