Applying core patches