Start refactoring insert.