If you extract the shared context I suggested above, it could be used here as well :).