Moved leader key to here since it has to be changed before any binding occurs.