Adds path morphing and sliding functionality.