Doc - Reformat doc string
Refactor - Format functions exposition
Refactor - Reuse existing `elect` definition