restrictionTask now compiles.

Restriction is re-enabled. Haven't tested it, but things don't crash.