Extend @NeedsWork to issue warnings both at compile- and runtime.