Fix method redeclaration