Also if there are going to be lateral pressures (i.e. soil loading) we typically have a steel angle installed on the inside face of the new wall and fastened to the old wall with either dowels or mechanical/chemical anchors. This angle provide lateral bearing area instead of just relying on the dowels.