Add flexible path-finding.