Refactor the QuorumZab interface.