renamed leader_watcher parameter from 'name' to 'type' to avoid misleading