Added code for new coordinate-handler. Not used by anywhere yet.