Can we have this extend java.io.Closeable?