Implemented schema factory and reader.