Clearing functions added to all libs