Added server callbacks processing through pubsub.