Sometimes a deus ex machina is just want a story needs.