Support symbols for key and value.