Delay evaluation of available-classes-by-last-segment

No need to pay the cost on ns load. A user who never imports classes
also never needs to evaluate this.