Added support for text labels for a checkbox.