Support for scala lists