persistRoute() method added to Plan class.