Update CoreContext.php