True. I believe it also referenced Aleister Crowley with the Egyptian ritual, Shaw's protege falling victim of it, and mentioning of Ma'at in invocations.
Anyway, for some reason I feel like this episode was originally planned to be one of the first few, I could be wrong though.
And if Zed doesn't kick the bucket by the end of the season, I'll be very disappointed. It's not just a matter of killing off a certain character, it would also finally give the series that darker vibe it needs from the very beginning and could set for a much darker second season (if there's to be one of course).