[Parser] Fixed kernel insertions, added header-guards