Added lazy loading to deal with large number of entries.