Added interruptMask methods so that interruptMasks can actually be set
rather than just read.