Getting rid of path arguments