Accept multiple path elements in the 'path' function