Factor out entity list.