factorized document actions