Modify RegisterAction.