Localize method defs for #1969.