removed spawner constructor