Small refactorings in Instance internals.