Deadlocks are enabled, dynamic deadlock detection moved into method.