Adding object spawner.