Replaced all paths with keys.