Trying to implement PubSub functionnalities.