Put the method in the proper class.

It helps.