Add leadership detection