Bugfix for detecting explicitely specified schema.