Modify header for grammar