Refactor seed record creation