WELD-1660 Allow to register alternative during AfterTypeDiscovery event