Removed the begindocument and title parts