I'd much prefer these private methods (and some of the code from `getInsertValues`) to be moved outside this handler.