Use new Instance API.

Eliminate boilerplate code.