Convert static method to instance method.