Fix signature of a method