Added .remove() method to remove middleware.