Managing Dependencies in Knowledge-Based Systems