Fix up imports in cast scaffolding.