- KnowledgeModuleService code refactored.