Make sure that the GenerateFunction call can support arbitrary levels of indentation for user code