added new "extends" extension settings key to use in place of class reflection for stack recursion