Revert "Revert LocationCode representation changes."

This reverts commit edd28c0eacbf09f22dab879de2b878418a22fcaf.