Added public functions to labelFactory