Use eager-loading to reduce number of database queries