I think you can remove this definition because Closeable already has the method.