Fix method errors