Metamodeling on fly.

 Working version