Adding NIO communication.