Groups path commands into single command
Merge pull request #4683 from yurydelendik/grouppath

Groups path commands into single operation