Client changes to handle registration failure.