Refactor flog.rake.