use extension ancestory from registry instead of class reflection for stack recursion.