The method customization was removed in 2ca00faa91. Backport of d4b00c5c24 from master.
2ca00faa91
d4b00c5c24