Only the first document can be implicit

Fixes https://rt.cpan.org/Ticket/Display.html?id=81589