DocumentHelpers' apply method now throws the original exception