Removed the document enum
Updates for the multible document types