             if open, !readPending {
                 switch interestedEvent {
                 case .Read:
-                    safeReregister(interested: InterestedEvent.None)
+                    safeReregister(interested: .None)
                 case .All:
-                    safeReregister(interested: InterestedEvent.Write)
+                    safeReregister(interested: .Write)
                 default:
                     break
                 }

            return
        }
        switch interestedEvent {
        case InterestedEvent.Read:
            safeReregister(interested: InterestedEvent.None)
        case InterestedEvent.All:
            safeReregister(interested: InterestedEvent.Write)
        default:
            break
        }

    
    // Methods only used from within this class
    private func safeDeregister() {
        interestedEvent = .None
        do {
            try eventLoop.deregister(channel: self)
        } catch {
