def _shed_timed_sequence(steps):
    """For each step in steps, remove the decorator."""
    method_names = ('fit', 'transform', 'fit_transform', 'predict',
        'predict_proba')
    for _, step in steps:
        for method_name in method_names:
            if not hasattr(step, method_name):
                continue
            decorated = getattr(step, method_name)
            closure = decorated.__closure__
            if closure:
                meth = closure[0].cell_contents
                setattr(step, meth.__name__, meth)
