Revert "Remove invoke-as [2/2]"

This reverts commit c1e573952956c356c754e9ec9aece0fe68f68ba8.