EAGLESIX-3087: Add Optimizations.Sharded functions to Pipeline.js, added comment to OutDocumentSource.js