Fix positional arguments and list extend