Calling this function directly on the Type will, however, not serialize the objects and convert them into Documents, which is the goal of this class