Looking at #initialize in Representor, think you can just pass in the document.