Simplify the API for CallerFileHandler and CallerFuncHandler.