Explicitly declare methods used statically as static methods.

This quiets a couple annoying PHP Strict Standards warnings.