Added ability to load documents from Byte Array.

Needed to be able to load a PDF from byte[]...