def with_decorators(*decorators):
    """Combine a series of decorators."""
    def combined(main):
        for decorator in reversed(decorators):
            main = decorator(main)
        return main
    return combined