Handle mocking of ModelType and ListType fields.