Improving error output.