@Ocramius zfjohnny here... (High five!)
In the code sample you've pasted above, I believe this would still require a change to the Doctrine/MongoDB project, right? As it stands, the code is throwing an SPL \InvalidArgumentException from the global namespace.