Fix instance to class method