Partial work towards spawning exceptions and such.