Complete the basic function of Writable interface.