stylistic improvements to neo4j batch backend code