Tweak to use new gizmo.getFolder() API call.