Added support for multiple labels.