Added Generator:contains/1