Fix spelling of `detach`.