Replace Pen.set_*_mode method names with Pen.*_mode.