Fix class method