Improve the error message by adding the hint to check the `newInstance` function in the schema configuration object.