Write follow / unfollow actions to the protocol