Add coordinate structs and resolve_local()