Modify instance method to static method.