Added recursion layer groups.