Added pointers to leaves in diagram.