Refactor insert/materialize node schemas.

Revert odd re-indent here.