Implement stackLimit(), overRecursed(), and overRecursedWithExtra().