Devirtualize Resolver.

No one inherits Resolver. Virtualizing the member functions was just
making it inefficient.