Finished population init code.