[bug 870336] Use mapping type, not model.

@willkg r?