Add TaskPipe.bufferSize and basic API documentation.