Replaced contains with indexOf.