Fix YARD warnings on private methods.

[#50752269]