Improving multischema support, and errormessages