There is a missed check of the existing extension key in the deliver() method.
extension
deliver()
Needs review
2.0
Code
The patch has been provided.