Support calling sentry-group in a compatible way with legacy applications