Document reading and writing of tags.