Gillard had been spoken of as a future leader of the party for some years but , until 2005 , she stayed out of leadership contests . Gillard had been spoken of as a potential future leader of the party for some years but , until 2005 , she stayed out of leadership contests .