Note that the old write interfaces are not prefered anymore.