* Back to underscores in path() function.
* Few simplification by using array_map() instead of for loop.