Fix docstring for write-portion function