Fix crazy way of accessing a static method with normal way