private static BasedOnDescriptor ServiceDescriptor(ServiceDescriptor arg)
 {
     return(arg
            .FromInterface(typeof(IHandleMessages <>))
            .WithServiceAllInterfaces());
 }