Add note on modifying document during transform