Update helper usage to 2.x style in code examples