Implement ProhibitDeepNests