semantic: Refactor getScopeFromType helper to lookup
volt: Move debugVisitors call point to Controller