Package hierarchy resorted to accomodate multiple algorithms.