This allows us in almost all places to use regions to further trace down long running tasks. Also removes an unused function.