API for removing and reloading tabs