Can we use this middleware on the remove route as well?