Support to customize route name group via callback