safer
warn if non-optional relationships are undefined