Attempt to fix static references in config classes

I made no attempt to test this, I just had some extra time on my hands
and decided to fix up the syntax errors. It may or may not work.

It should at least compile now.