Prevent unneceessary recomputation of adjacency maps.