4.1.0-rc3 - Migration to ExtensionElement from PacketExtension incomplete?

I started using 4.1.0-rc3 and I saw that PacketExtension is now deprecated and the suggestion is to use ExtensionElement.

So far so good, I could live with some deprecations in my code, but when I get to the EmbeddedExtensionProvider, I see that now the signature is

 public abstract class EmbeddedExtensionProvider<PE extends ExtensionElement> extends ExtensionElementProvider<PE>

That means that I could not use PacketExtension. So I changed every occurrence of PacketExtension to ExtensionElement, but when I come to create and add extension to stanzas, I don’t have a method to add them, only good old PacketExtensions

 public void addExtension(PacketExtension extension)

That is because internally we still have PacketExtensions only. Is there a solution to be able to use 4.1.0-rc3 or I better stick to rc2 until further notice ?

Thanks

but when I come to create and add extension to stanzas, I don’t have a method to add them, only good old PacketExtensions
Hmm? I see Stanza.addExtension(ExtensionElement)

Caching systems are sleepy too on Mondays !

My apologies,

Luca