Of course the variable should have another name. Maybe `invalid_methods`