Implements Spawner.
WIP; needs testing!