Added "prevent_signals" decorator/context manager