7.x 1.x labels

[#2142805 - Code style cleanup](https://drupal.org/node/2142805)
[#2142821 - Add label callbacks](https://drupal.org/node/2142821)