Add --registration-state option.