Registry can now lazily load types through their id.