Made a function a method on Traceback.