Added persistence to maps and graphs.