Add :on_leave to Representative. First step for #195.