Resolves RI Issue #24: Implemented support for java.io.Closeable