code: public void removeFunction(KnowledgePackageImpl pkg,
                                 org.drools.core.rule.Function function) {
          this.functionFactory.removeFunction( function.getName() );
  
      }
docs: TODO: FIXME: make it consistent with above