Implements insert support.