Add base for publishing messages