Thread model support for migrating to Idea.