Address YARD warnings.

See lsegal/yard#746 for discussion.