Gothic novels, setting the scheme for what today we might call the Scooby Doo ending, that is, as things become more and more supernatural, we get the shock of the fantastic again and again, until at the very end, the final twist is to realize that it wasn't supernatural at all, there was a realistic explanation. 