Add public accessor for queue c member.
Change contains() logic to support non-map containers too.