Setting the path also sets the name.