Renamed legacy contain methods to oldContain.