Refactor so that resolve_model expects a mounted object (or any
object that can serve as a base really).