Add release_object to new record loops in helpers.