Unload weak singletons when unload factory
add typhoonpatcher method to match definition by selector