notes
finally implements loading resource relations.