Added ability to use icons instead of text labels.