Support writing needed extension types

Welllll shoot. I didn't know that existed. Thanks!