Since this is used by both `populate` methods, it is a _lower level_ function, and so it should be lower in the file.