public void fireAfterFunctionRemoved(final InternalKnowledgePackage pkg, final String function) {
final Iterator<KieBaseEventListener> iter = getEventListenersIterator();
if (iter.hasNext()) {
AfterFunctionRemovedEvent event = new AfterFunctionRemovedEventImpl(this.kBase, function);
do {
iter.next().afterFunctionRemoved(event);
} while (iter.hasNext());
}