Support writing needed extension types