Move the logic from ModelReader to ComplexType. Remove ModelReader.