Added path center saving method.