Fixed missing self in class method.