Cosmetic change: renamed replace_cmd to replace_def to match table_def.