Can you clear this variable also in publication constructor and destructor, similar to how currentPublication is?