Implement Read and Close.