Refactor all functions operate on lists
Add a default concat in extract-to element