Cleanup constructor in spider.