Remove global variable max_recursion_level.