Added the ability to load PDF documents from memory (byte[])