Wrote Component#set_mode and #set_owner.