Rename nentries argument to entries.