It's unclear to me why do we want to destroy the Java objects representing the extensions.