Move the record_*_data() helpers to Task methods.