Implement optional storage of coordinates