Refactor.
Remove some of tags and replace them with mem_record.