Adds parsing of matrix params in path.