So I removed the incorrectly placed discriminator map and definition. It sounds like you have one choice or the other: use mixed document types and allow Doctrine to figure it out by the `_doctrine_class_name` or use an explicitly identified discriminated type map where you know the finite set of documents and their types that will be in it?