Changed Threg and Thirreg to Thadm and Thinadm, respectively.