Rename remove_old_samples() to gc() and a few other renamings.