I would not load the file here but only add the tag. This way, it avoids breaking other compiler passes trying to access the extension