finish the automatic loading of related entities