Add static to some variables

Hm, is it? I only see generic mentions about globals.