Added new support for the knowledge base (yet not integrated).