Added support for edge labels.