add class to convert static method to instance method by using refactor action.