Planning endodontic treatment.