I added the collection policy class, although a more stripped down version of it and fixed in ingest function that calls it.