Get rid of all of these -- just use gid types for nids.