Fix static method calls.