Adds support for path.