Support manually adding a resource to local storage.