Added a warning for missing references