Nicer error reporting.