Apply core patches