Switch context objects to store delegates instead of blocks.