Modified: Rename method of the publish. new name is write.