Adding warnings to managed files