Working generic mutable task dispatcher.