Work around issue cause by importing MockMailHost in global scope.