ad support for autoCloseable in the config schema