Fix bug with instantiator.

Didn't register type arguments to header/body insertions.
Lead to new Env thing failing with type Posix missing
from registry.