class TypeCollector {

    public void removeProvider(String provider) {
        if (provider == null) {
            throw new NullPointerException("provider");
        }
        logger.note(LogLocation.LOG_FILE, "Removing " + provider);
        removed.add(provider);
        for (Type type : types.values()) {
            type.removeProvider(provider);
        }
    }

    public  TypeCollector(Initializer initializer, Logger logger);

}