Add Path.relative and Path.type