Implement more of the Level 1 -> Level 2 translation code - ensureNoLocalImports