Add method to invalidate headers