Separated the persister from the main entity getter builder.