Revert LocationCode representation changes.