Import knset hierarchy and made separate table reset function.