Without these functions, Julia 1.5 enters an infinite loop whenever it tries to generate a stack trace, so any error (such as a missing method) causes the program to hang, instead of an error message to appear.