adds documentation for list types