That's not a very good idea: the buffer might contain unrelated overlays.