Can be simplified using primitive: don't see any place where `this.consumers.put(consumer, null)`