Well, GlassFish/Payara shouldn't use any internal classes but only Weld API and SPI. We will add the export to retain backward compatibility though.