Both BlockingRead() and BlockingWrite() now fully templated.