Improved schema factory exceptions.