Add extended list support

Fix #21: add list support