Created constructors for InterruptRegister.