Fix some wrong usages of static method calls (actually belong to class instance)