Updated code to support managing internal polar coordinates