Some preparations for nicer paths