Fix missing scope in static method calls