LeaderService code read comments.