Add support for list type.