Add support for recursive cons pairs.