Add path and line number information.