For now - yes. I'll move them to private. If someone will ever need to retrieve original XML declaration, those function can be moved back to public.