Support contain(...).as_a_key(), contain(...).as_a_value() for use with dictionaries