Added functions check_initial_registration and check_initial_call to see...