Improved some exception mesages.