Fix access to class method from instance