Add lods, read and write for map, header and footer.