Issue 7079: local helpers should be private variables