adds support for building the model of a program for which the classpath is incomplete

Is that comment a remainder of the old pull request?