Needs outputSchema implemented