Added the ability to save document and to still use functionality.