Fix list types w.r.t. the doc. Closes GH-22.