There can be many widget classes that will have the same CSS bindings, so cache the compiled functions for computing the root node classes per determinants list.