I would prevent the unregistring to be public. Or at east not based on re as several widget could register one after the other with same re.