Updated schema loading in writer wrapper.