Support writing needed extension types

I wonder what would happen when we got down into the Java code and it's expecting a particular field to be a boolean but instead it's just "truthy"