AutoCloseable interfaces implemented