add explanation on Resource::setLocation()