Move package header to core grammar definition file