Fix imports in delegates