Add AppFirst and AddSecond to CoreContext.