Rename rd_generate to rd_collect.