public void destroy(Contextual<?> contextual) {
assertTrue(contextual instanceof Serializable); // we also test CDI-24 here
Instance instance = storage.remove(contextual);
@SuppressWarnings("rawtypes")
Contextual rawContextual = contextual;
rawContextual.destroy(instance.instance, instance.ctx);
}
}