Moved document populate logic to bulk class