Adding list support and ternary support to docs