ReferenceField not an issue for document anymore and now supports ObjectId values as well.