Fixes underscore methods and reduces code duplication.

Fixes #170. 

There is now a central (currently private) method for getting the resolved virtuals of a model.