Utility functions to make Label & Comparator factories more configurable.