Add register_ranker() function for clients.