Small fix so template plugins can see inject variables.