A trustee may incur expenses necessary to carry out the purposes of the trust and not forbidden by the provisions of the trust instrument, and other expenses authorized by the provisions of the trust instrument.