"""Middleware classes to process messages on their way in and out of workers.
"""

from vumi.middleware.base import (
    BaseMiddleware, TransportMiddleware, ApplicationMiddleware,
    MiddlewareStack, create_middlewares_from_config,
    setup_middlewares_from_config)

from vumi.middleware.logging import LoggingMiddleware
from vumi.middleware.tagger import TaggingMiddleware
from vumi.middleware.message_storing import StoringMiddleware
from vumi.middleware.address_translator import AddressTranslationMiddleware

__all__ = [
    'BaseMiddleware', 'TransportMiddleware', 'ApplicationMiddleware',
    'MiddlewareStack', 'create_middlewares_from_config',
    'setup_middlewares_from_config',
    'LoggingMiddleware', 'TaggingMiddleware', 'StoringMiddleware',
    'AddressTranslationMiddleware']

"""Middleware classes to process messages on their way in and out of workers.
"""

from vumi.middleware.base import (
    BaseMiddleware, TransportMiddleware, ApplicationMiddleware,
    MiddlewareStack, create_middlewares_from_config,
    setup_middlewares_from_config)

__all__ = [
    'BaseMiddleware', 'TransportMiddleware', 'ApplicationMiddleware',
    'MiddlewareStack', 'create_middlewares_from_config',
    'setup_middlewares_from_config']

Remove package-level imports of middleware classes. This will break some configs, but they should never have been there in the first place.