Add election API docs.