Added useCaptureGroups flag back in