Fixing accessing static vars.