[relate] Add 'const' keyword to declarations of not modified variables.