Add class method