Invariantstrtool (removed) replaced by a T4 template.