Support writing needed extension types

I'm only referring to these from the extensions builder functions currently.