Fix method recognition